<?php
//error_reporting(0); 
//Hora de verano
date_default_timezone_set("America/Mexico_City");
global $_VERANO;
$_VERANO = date('I');

/* Conexion MS SQL SERV */
$serverName = "SDSPORTALSERVER\SDSPORTAL";
$connectionInfo = array( "UID" => "sa", "PWD" => "sdsp2009","Database"=>"sdsmaster");
//$connectionInfo = array("Database"=>"sdsmaster");
$link = sqlsrv_connect($serverName, $connectionInfo) 
 or die( print_r( sqlsrv_errors(), true));

function cerrar_coneccion($lnk)
{
    if($lnk) sqlsrv_close($lnk);
}
?>